import random
from utils.tencent.sms import send_sms_single
from django.conf import settings
from django.shortcuts import render

# Create your views here.


def send_sms(request):
    # 发送短信
    code = random.randrange(1000, 9999)
    res = send_sms_single('17806166778', )
